//-*-C++-*-
/***************************************************************************
 *
 *   Copyright (C) 2021 by Paul Demorest
 *   Licensed under the Academic Free License version 2.1
 *
 ***************************************************************************/

#include "Pulsar/DynamicStatSpectrumPlot.h"
#include "Pulsar/DynamicSpectrumPlot.h"
#include "Pulsar/ProfileStatistic.h"

#include <iostream>
using namespace std;

Pulsar::DynamicStatSpectrumPlot::Interface::Interface( 
    DynamicStatSpectrumPlot* _instance )
{
  if ( _instance )
    set_instance( _instance );

  add( &DynamicStatSpectrumPlot::get_statistic,
       &DynamicStatSpectrumPlot::set_statistic,
       "stat", "Statistic to evaluate" );

  import( DynamicSpectrumPlot::Interface() );
}

